package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "relation")
public class relation {
    @Id
    @Column(name="id")
    private int id;
    @Column(name="stu_id")
    private String stu_id;
    @Column(name="stu_class")
    private String stu_class;


}
